<html>

<head>
    <title>Upload file</title>
</head>

<body>
<form enctype="multipart/form-data" action="http://127.0.0.1:8080/upload" method="POST">
    <input type="file" name="uploadfile" />
    <input type="hidden" name="token" value="{{.}}" />
    <input type="submit" value="upload" />
</form>
</body>

</html>